<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'kommunikation-form',
	'enableAjaxValidation'=>false,
)); ?>

    <fieldset class="box">
	<?php echo $form->errorSummary($model); ?>

        <table>
	<tr class="row">
            <td>
                <?php echo $form->labelEx($model,'kom_type'); ?>
            </td>
            <td>
		<?php echo $form->dropdownList($model,'kom_type',array('1'=>'Mail','2'=>'Phone','3'=>'Directory','4'=>'Fax')); ?>
		<?php echo $form->error($model,'kom_type'); ?>
            </td>

            <td>
		<?php echo $form->labelEx($model,'kom_ismain'); ?>
		<?php echo $form->checkBox($model,'kom_ismain'); ?>
		<?php echo $form->error($model,'kom_ismain'); ?>
            </td>
        </tr>

	<tr class="row">
            <td>
		<?php echo $form->labelEx($model,'kom_information'); ?>
            </td>
            <td colspan="2">
		<?php echo $form->textField($model,'kom_information',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'kom_information'); ?>
                <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save',array('class'=>'button')); ?>
            </td>
        </tr>
        </table>
    </fieldset>
		
                <?php echo $form->hiddenField($model,'org_id'); ?>
		<?php echo $form->error($model,'org_id'); ?>

    	<p class="note">Fields with <span class="required">*</span> are required.</p>

		
	
<?php $this->endWidget(); ?>

</div><!-- form -->